#声明一个字符串
s='HelloPython,HelloJava,hellophp'
#用户从键盘录入要查询的字符
ch=input('请输入要查询的字符:')
# #不区分大小写
# print(s.upper().count(ch))

print('{0}在{1}一共出现了{2}次'.format(ch,s,s.upper().count(ch.upper())))





